﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Keywords" content="cssfile">
<meta name="Description" content="">
<meta name="format-detection" content="telephone=no" />
<meta property="wb:webmaster" content="ed0a75e93ed55263" />
<meta name="renderer" content="webkit">
<title> 好乐买 正品鞋</title>
<link rel="shortcut icon" href="http://0.js.lx.okbuycdn.com/resources/images/favicon.ico">
<link rel="stylesheet" type="text/css" href="{{asset('/HomeCss/css/login.css')}}">
<script type="text/javascript" src="{{asset('/HomeCss/js/jquery-1.9.0.js')}}"></script>
<script type="text/javascript" src="{{asset('/HomeCss/js/jquery.validate.js')}}"></script>
<script type="text/javascript" src="{{asset('/HomeCss/js/jquery.form.js')}}"></script>
<script type="text/javascript" src="{{asset('/HomeCss/js/miniheader.js')}}"></script>
<script type="text/javascript" src="{{asset('/HomeCss/js/inputstyle.js')}}"></script>
<script type="text/javascript" src="{{asset('/HomeCss/js/logincheck.js')}}"></script>
</head>
<body>
<div class="miniheader">
    <div class="miniheaderLeft"><a href="/"><img src="{{asset('/HomeCss/picture/miniheaderlogo.png')}}" alt='okbuy'></a></div>

    <div class="miniheaderRight">
        <cite id="top_nologin" style="display: inline-block;">
    	<a href="/home/login/login" title="">登录</a><span>|</span>
		<a href="/home/login/regist" title="">注册</a>
    </div>
</div><!--[if IE 6]>
<script> document.execCommand("BackgroundImageCache", false, true); </script>
<![endif]-->
<div class="loginwarpper">
	<div class="login" style="background-image: none">
    	<div class="centerTopLeft"> 
			<ul>
				<li> 				
				<a target="_blank" href="">
					<img border="0" width="433" height="587" src="{{asset('/HomeCss/picture/deca5ac5ae6de45332294e4c97f051c2.jpg')}}">
				</a>
 				</li>
			</ul>
        </div>
		<div class="loginRightSecond">
			<p id="login_error_1" style="color:red;padding:5px 5px 5px 0;line-height:18px;">
			@if(session('error'))
				{{session('error')}}
			@endif
			</p>
			<div class="logintab" style="margin-left:6px;width:300px;margin-bottom:5px"><span  id="checkUserleft">邮箱/已验证手机/用户名：</span></div>
			<div class="OB_clearB"></div>
			<div id="userLogin">
				<form id="loginform_name" name="loginform" action="/home/login/dologin" method="post">
				
					<div class="login_txt">
					<input type="text" title="" value="" class="valid" inpType="oktxt" id="username" name="uname"/>
					<label class="error" id="usernameError" ></label>
					</div>
					<p>密码：</p>
					<div class="login_txt">
					<input type="password" name="upwd" id="password" title="" inpType="okpass" class="valid"/>
					<label class="error" id="passwordError" ></label>
					</div>
					
					
					<span class="loginPassBtn"></span>
					<p class="loginRight_3"><a href="/home/login/fgtpw">忘记密码？</a></p>
					<p>
						<button type="submit" class="login_btn_2"   name=""  value="" style="float:left"/></button>
						<a href="/home/login/regist" title="" style="display: block;float: left;font-size: 11px;margin-top: 33px;margin-left: 5px;color:#368427;background: #ecf7ef;padding:5px">没有好乐买账号？10秒注册</a>
					</p>
					{{csrf_field()}}
				</form>
			</div>
			<div class="OB_clearB"></div>
			<div class="loginline"></div>
			<p class="loginRight_2">通过以下链接将好乐买分享给小伙伴吧： </p>
			<p class="loginRight_btn"><div class="bshare-custom"><a title="分享到QQ空间" class="bshare-qzone"></a><a title="分享到新浪微博" class="bshare-sinaminiblog"></a><a title="分享到微信" class="bshare-weixin"></a><a title="分享到QQ好友" class="bshare-qqim"></a><a title="分享到搜狐微博" class="bshare-sohuminiblog"></a><a title="分享到有道笔记" class="bshare-youdaonote"></a><a title="更多平台" class="bshare-more bshare-more-icon more-style-addthis"></a><span class="BSHARE_COUNT bshare-share-count">0</span></div><script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/buttonLite.js#style=-1&amp;uuid=&amp;pophcol=3&amp;lang=zh"></script><script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/bshareC0.js"></script></p>
			<p>
				<!-- <img src="{{asset('/HomeCss/picture/lricon_2.png" alt=""> -->
			</p>
		</div>
        <div class="OB_clearB"></div>
    </div>
</div>  
	<script type="text/javascript">
		new dk_slideplayer("#pub_slideplay",{width:"474px",height:"588px",time:"4000",float:"left"});
	</script><div class="OB_clearB"></div>
<div class="minifooter">Copyright © 2007-2017 OkBuy.com All Rights Reserved&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;天津好乐买信息技术有限公司&nbsp;&nbsp;津B2-20140020&nbsp;&nbsp;京公网安备&nbsp;110105006859</div>
<script type="text/javascript">
	//声明全局变量
    var CUSER = false;
    var CPASS = false;
    
    //绑定表单事件
    $('form').submit(function(){
        //触发所有的丧失焦点事件
        $('input').trigger('blur');
        //判断是否全部成功
        if(CUSER && CPASS ){
            return true;
        }

        return false;
    })

	//用户名丧失焦点事件
    $('input[name=uname]').blur(function(){
        // 获取输入的值

        var uname = $(this).val();
        if(!uname){
            $('#usernameError').html('请填写邮箱/已验证手机/用户名');
            CUSER = false;
            return false;
        }else{
        	$('#usernameError').html('');
        	CUSER = true;
        }
            
    })

    //密码丧失焦点事件
    $('input[name=upwd]').blur(function(){
        // 获取输入的值
        var upwd = $(this).val();
       	if(!upwd){
        	$('#passwordError').html('请填写密码');
            return false;
        }else{
        	$('#passwordError').html('');
            CPASS = true;
        }
    })
</script>
</body>

</html> 
